package com.etc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("antapi")
public class AntController {

	@RequestMapping(value="test1??")
	public String test1() {
		System.out.println("ant api test1");
		return "test1";
	}
	
	@RequestMapping(value="test2/**/test2")
	public String test2() {
		System.out.println("ant api test2");
		return "test2";
	}
	
	@RequestMapping(value="test3/{id}")
	public String test3() {
		System.out.println("占位符 api test3");
		return "test3";
	}
}
